//
//  aboutUsViewController.m
//  One Construction
//
//  Created by apple on 2019/9/11.
//  Copyright © 2019 apple. All rights reserved.
//

#import "aboutUsViewController.h"

@interface aboutUsViewController ()

@end

@implementation aboutUsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor colorWithRed:246/255.0 green:246/255.0 blue:246/255.0 alpha:1.0];
    
    self.navigationItem.title = @"关于我们";
    [self setUpView];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

- (void)setUpView{
    UIImageView *imvView = [[UIImageView alloc]init];
    [self.view addSubview:imvView];
    imvView.image = [UIImage imageNamed:@"aboutus"];
    [imvView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.mas_equalTo(self.view.mas_centerX);
        make.width.height.mas_equalTo(90);
        make.top.mas_offset(AppNavitionHright+85);
    }];
    
    myLable *lable =[[myLable alloc]init];
    [self.view addSubview:lable];
    
    [lable setLabletextColor:[UIColor blackColor] Text:@"版本 0.1" TextFont:25];
    [lable mas_makeConstraints:^(MASConstraintMaker *make) {
     make.centerX.mas_equalTo(self.view.mas_centerX);
          make.width.mas_equalTo(125);
          make.height.mas_equalTo(35);
        make.top.mas_equalTo(imvView.mas_bottom).mas_offset(15);
        
    }];
    lable.textAlignment = NSTextAlignmentCenter;
    
    
}
@end
